package com.test.dao;

import java.util.List;

import com.test.enity.Employee;

public interface IEmployeeDao {

	public boolean isExist(int eid) ;
	// 增加员工
	public boolean addEmployee(Employee employee) ;
	// 删除员工
	public boolean deleteEmployeeByEid(int eid) ;
	// 根据id修改员工
	public boolean updateEmployeeByEid(int eid, Employee employee) ;
	// 根据id查询员工
	public Employee queryEmployeeByEid(int eid) ;
	// 查询所有员工
	public List<Employee> queryAllEmployee() ;
}
